#ifndef _OPENGLES2_H
#define _OPENGLES2_H

#include "global.h"

#ifdef __cplusplus
extern "C" {
#endif

GLuint loadShader(GLenum shaderType, const char* pSource);
GLuint createProgram(const char* pVertexSource, const char* pFragmentSource, GLuint *vertexShader, GLuint *fragmentShader);
void deleteProgram(GLuint program, GLuint vertexShader, GLuint fragmentShader);
GLint getUniformLocation(GLuint program, const char *uniformName);

#ifdef __cplusplus
}
#endif
#endif
